package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import javax.validation.constraints.Size;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * EBaseDictionary is a Querydsl bean type
 */
@Label("BaseDictionary")
public class EBaseDictionary extends AbstractIdEntity<String> {

    private static final long serialVersionUID =13150602287713L;    
    @NotNull(groups={UpdateCheck.class})
    @Label("id")
    @Size(max=24)
    private String id;

    @Label("字典代码")
    @Size(max=45)
    private String typeCode;

    @Label("基础字典名")
    @Size(max=45)
    private String typeName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String toString() {
         return String.format("EBaseDictionary { id : %s,typeCode : %s,typeName : %s }",id,typeCode,typeName);
    }

}

